//=============================
#ifndef KEYVALDL_H_
#define KEYVALDL_H_

#include "lpc_types.h"
#include "lpc17xx_gpio.h"
#include "lpc17xx_pinsel.h"

#define	K1LED_ON		GPIO_ClearValue(PINSEL_PORT_1, (1<<PINSEL_PIN_10));  
#define	K1LED_OFF		GPIO_SetValue(PINSEL_PORT_1, (1<<PINSEL_PIN_10));
#define	K2LED_ON		GPIO_ClearValue(PINSEL_PORT_1, (1<<PINSEL_PIN_9));  
#define	K2LED_OFF		GPIO_SetValue(PINSEL_PORT_1, (1<<PINSEL_PIN_9));
#define	K3LED_ON		GPIO_ClearValue(PINSEL_PORT_1, (1<<PINSEL_PIN_8));  
#define	K3LED_OFF		GPIO_SetValue(PINSEL_PORT_1, (1<<PINSEL_PIN_8));


void 	buttonDeal(void);

#endif
//=============================
